﻿using ProtoBuf;

[ProtoContract]
public class Player
{
	[ProtoMember (1)]
	public int level;
	[ProtoMember (2)]
	public float physicsAttackValue;
	[ProtoMember (3)]
	public float physicsDefenseValue;
	[ProtoMember (4)]
	public float magicAttackValue;
	[ProtoMember (5)]
	public float magicDefenseValue;
	[ProtoMember (6)]
	public string monsterName;

	public Monster monster;

	public Player(){
		monsterName = "Slime";
	}

	public override string ToString ()
	{
		return "physicsAttackValue : " + physicsAttackValue
		+ " physicsDefenseValue : " + physicsDefenseValue
		+ " magicAttackValue : " + magicAttackValue
		+ " magicDefenseValue : " + magicDefenseValue;
	}
}
